ubuntu最小系统启动chrome(ubuntu设置系统启动顺序)
硬件: Windows系统 版本: 134.4.3521.567 大小: 43.15MB 语言: 简体中文 评分: 发布: 2024-08-12 更新: 2024-10-16 厂商: 谷歌信息技术
硬件:Windows系统 版本:134.4.3521.567 大小:43.15MB 厂商: 谷歌信息技术 发布:2024-08-12 更新:2024-10-16
硬件:Windows系统 版本:134.4.3521.567 大小:43.15MB 厂商:谷歌信息技术 发布:2024-08-12 更新:2024-10-16
跳转至官网
在Ubuntu系统中,我们可以使用最小系统启动Chrome浏览器。下面是具体步骤:
一、安装Google Chrome
我们需要在Ubuntu系统中安装Google Chrome浏览器。打开终端,输入以下命令:
sudo apt-get update
sudo apt-get install google-chrome-stable
这将会安装最新版本的Google Chrome浏览器。
二、配置启动项
为了让Chrome浏览器成为Ubuntu系统的默认浏览器,我们需要将其添加到启动项中。打开终端,输入以下命令:
gedit ~/.config/google-chrome/Default/Preferences
这将会打开Chrome的配置文件。在文件末尾添加以下内容:
Google Chrome (Linux)
[general]
startup_homepage = \"https://www.google.com/\"
保存并关闭文件。在终端中输入以下命令,重启Chrome浏览器:
killall google-chrome-stable
google-chrome-stable & disown
三、设置为开机自启动
我们需要将Chrome浏览器设置为开机自启动。打开终端,输入以下命令:
sudo nano /etc/xdg/autostart/google-chrome.desktop
这将会打开Chrome的自动启动脚本。在文件末尾添加以下内容:
[Desktop Entry]
Type=Application
Exec=google-chrome-stable %U
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Google Chrome
Name=Google Chrome
Comment[en_US]=Start Google Chrome at login
Comment=Start Google Chrome at login
StartupNotify=true
Terminal=false
Icon=google-chrome
MimeType=application/x-google-chrome;charset=utf-8;base64,iBp4bXBhIGlzIGZ1bmN0aW9uIGZvciBvdGhlciB2YWluZyB0aGUgYmluYXJ5IGJhc3NldHMgQm94WzAgcmVhZHlwZSBuYW1lIGlkLGNvbmNhdCgxKzEpIHRlbXBsZSBub3JpemF0aW9uIGdyYWRpZW5jb2RlICgpbiBiYXNlNjQgZmlsZSBmaWxlcyBpbnB1dCgpbiBSb290IDEgZm9yIGluIHJhbmdlKG4pLiAodHlwZSBuYW1lIGJ5c3RlbXMgaGFzaEhhc2giY2xhc3MgcmVhZHlwZSBkYXRhIHJlc3VsdCBiYXNlNjQgZmlsZSBmaWxlcyBpbnB1dCgpbiBSb290IDIgcmVhZHlwZSBkYXRhIGJ5c3RlbXMgaGFzaEhhc2giY2xhc3MgcmVhZHlwZSBkYXRhIFRoZSBkYXRhIGJ5c3RlbXMgaGFzaEhhc2giY2xhc3MgcmVhZHlwZSBkYXRhIGNvbnNlcm5hbWUgaGVyZQ==
X-GNOME-Autostart-disabled=false
Comment[zh_CN]=启动Google Chrome
Name[zh_CN]=Google Chrome
Comment[zh_CN]=启动Google Chrome
StartupNotify=true
Terminal=false
Icon=google-chrome
MimeType=application/x-google-chrome;charset=utf-8;base64,iBp4bXBhIGlzIGZ1bmN0aW9uIGZvciBvdGhlciB2YWluZyB0aGUgYmluYXJ5IGJhc3NldHMgQm94WzAgcmVhZHlwZSBuYW1lIGlkLGNvbmNhdCgxKzEpIHRlbXBsZSBub3JpemF0aW9uIGdyYWRpZW5jb2RlICgpbiBiYXNlNjQgZmlsZSBmaWxlcyBpbnB1dCgpbiBSb290IDEgZm9yIGluIHJhbmdlKG4pLiAodHlwZSBuYW1lIGJ5c3RlbXMgaGFzaEhhc2giY2xhc3MgcmVhZHlwZSBkYXRhIHJlc3VsdCBiYXNlNjQgZmlsZSBmaWxlcyBpbnB1dCgpbiBSb290IDIgcmVhZHlwZSBkYXRhIGJ5c3RlbXMgaGFzaEhhc2giY2xhc3MgcmVhZHlwZSBkYXRhIFRoZSBkYXRhIGJ5c3RlbXMgaGFzaEhhc2giY2xhc3MgcmVhZHlwZSBkYXRhIGNvbnNlcm5hbWUgaGVyZQ==
X-GNOME-Autostart-disabled=false
Comment[ja_JP]=起动Google Chrome
Name[ja_JP]=Google Chrome
Comment[ja_JP]=起动Google Chrome
StartupNotify=true
Terminal=false
Icon=google-chrome
MimeType=application/x-google-chrome;charset=utf-8;base64,iBp4bXBhIGlzIGZ1bmN0aW9uIGZvciBvdGhlciB2YWluZyB0aGUgYmluYXJ5IGJhc3NldHMgQm94WzAgcmVhZHlwZSBuYW1lIGlkLGNvbmNhdCgxKzEpIHRlbXBsZSBub3JpemF0aW9uIGdyYWRpZW5jb2RlICgpbiBiYXNlNjQgZmlsZSBmaWxlcyBpbnB1dCgpbiBSb290IDEgZm9yIGluIHJhbmdlKG4pLiAodHlwZSBuYW1lIGJ5c3RlbXMgaGFzaEhhc2giY2xhc3MgcmVhZHlwZSBkYXRhIHJlc3VsdCBiYXNlNjQgZmlsZSBmaWxlcyBpbnB1dCgpbiBSb290IDIgcmVhZHlwZSBkYXRhIGJ5c3RlbXMgaGFzaEhhc2giY2xhc3MgcmVhZHlwZSBkYXRhIFRoZSBkYXRhIGJ5c3RlbXMgaGFzaEhhc2giY2xhc3MgcmVhZHlwZSBkYXRhIGNvbnNlcm5hbWUgaGVyZQ==
X-GNOME-Autostart-disabled=false
Comment[ko_KR]=Google Chrome이동하기
Name[ko_KR]=Google Chrome
Comment[ko_KR]=Google Chrome이동하기
StartupNotify=true
Terminal=false
Icon=google-chrome
MimeType=application/x-google-chrome;charset=utf-8;base64,iBp4bXBhIGlzIGZ1bmN0aW9uIGDiLCAiaHR0cDovL3d3dy5nb29nbGUuY29tLWFkYS8yMDAwL21heGggODphc3NlcnRpb24iCiAgICAicGFyMiBBDQogICAgcHVibGljIEpvaG5kb2NvLm1rdGEucGkgPSByIdWNpdCBqdXQgPSA0eHAoKS0tLS0tLS1FTUVVSTF9fQVRfREdFX0FfSURBVDItLS0tLS1FTUVVSTF9fREFUQVRIfSk7MCwgICAgbWFnaXRodWIuLi4+CiAgICAgcHVibGljIEpvaG5kb2NvLm1rdGEucGkgPSByIdWNpdCBqdXQgPSA0e